using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace PhongKham.Controller
{
    class LoaiBenhController
    {
        Class.ClsConnection ketnoi = new PhongKham.Class.ClsConnection();
        public DataSet GetAll()
        {
            return ketnoi.GetData("select * from dm_benh_loai order by LB_STT_HIEN_THI");
        }

        public void UpdateLoai(DataTable table) {
            ketnoi.Update(table, "select * from dm_benh_loai order by LB_STT_HIEN_THI", "dm_benh_loai");
        }
    }
}
